package com.wunong.smart.commission.client.dto;

import com.wunong.smart.commission.client.enums.CommissionStatusEnum;
import com.wunong.smart.domain.platform.common.BizSource;
import com.wunong.smart.domain.platform.entify.BaseModel;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.time.LocalDateTime;

/**
 * 代办事项
 *
 * @author create by zealot.zt
 */
@Getter
@Setter
@ToString(callSuper = true)
public class CommissionDTO extends BaseModel {

    /**
     * 用户编号
     */
    private Long userId;

    /**
     * 用户角色
     */
    private Integer userRole;

    /**
     * 业务来源信息
     */
    private BizSource source;

    /**
     * 代办类型
     */
    private String commissionType;

    /**
     * 代办状态
     *
     * @see CommissionStatusEnum
     */
    private Integer status;

    /**
     * 结束时间
     */
    private LocalDateTime finishTime;

    /**
     * 撤销时间
     */
    private LocalDateTime cancelTime;

    /**
     * 代办内容
     */
    private String content;

    public static CommissionDTO of() {
        return new CommissionDTO();
    }

}
